@charset "utf-8";
/* 初始化 */
body,
div,
ul,
li,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea,
select,
p,
dl,
dt,
dd,
a,
img,
button,
form,
table,
th,
tr,
td,
tbody,
article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font: 12px/1.5 'Microsoft YaHei', '宋体', Tahoma, Arial, sans-serif;
  color: #555;
  background-color: #f7f7f7;
}
/*去除边框*/
fieldset,
img,
input,
button,
textarea {
  border: none;
  /*去除的蓝色小边框*/
  outline-style: none;
}
/*禁止表单域缩放*/
textarea {
  resize: none;
}
a {
  text-decoration: none;
  color: #969696;
  /* 取消链接高亮  */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/* 图片自适应 */
img {
  width: 100%;
  /*解决图片底部对其问题*/
  display: block;
  border: none;
}
ul,
ol {
  list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-decoration: none;
  font-weight: normal;
  font-size: 100%;
}
em,
i {
  font-style: normal;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
/*清除浮动*/
.clearfix:before,
.clearfix:after {
  content: '';
  display: table;
}
.clearfix:after {
  clear: both;
}
/*单行溢出*/
.one-txt-cut {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/*多行溢出*/
.txt-cut {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.jd_sprit {
  background: url('../images/jd-sprites.png') 0px 0px no-repeat;
  background-size: 200px 200px;
}
body {
  height: 2000px;
}
.jd_container {
  width: 100%;
  height: 100%;
  max-width: 640px;
  min-width: 320px;
  margin: 0 auto;
  padding-top: 44px;
  padding-bottom: 55px;
}
.jd_header {
  position: fixed;
  z-index: 999;
  top: 0;
  max-width: 640px;
  height: 44px;
  width: 100%;
  background-color: #f23030;
  display: flex;
}
.jd_header .icon_left,
.jd_header .icon_right {
  width: 44px;
  text-align: center;
  line-height: 44px;
  font-size: 24px;
  color: #fff;
}
.jd_header .title {
  flex: 1;
  color: #fff;
  font-size: 18px;
  line-height: 44px;
  text-align: center;
}
.jd_footer {
  height: 55px;
  position: fixed;
  width: 100%;
  max-width: 640px;
  background-color: #fff;
  bottom: 0;
}
.jd_footer ul {
  display: flex;
  height: 100%;
}
.jd_footer ul li {
  flex: 1;
  text-align: center;
  padding-top: 10px;
}
.jd_footer ul li a {
  display: block;
  width: 100%;
  height: 100%;
  color: #666;
}
.jd_footer ul li a i {
  font-size: 16px;
}
.jd_footer ul li.now a {
  color: #f23030;
}
.cart-layout {
  position: relative;
  height: 1000px;
  padding-top: 0;
  background-color: #fff;
}
/*头部*/
.cart-header {
  position: relative;
  background-color: #fff;
  border-bottom: 1px solid #e1e1e1;
  left: 0;
  top: 0;
}
.cart-header .title {
  overflow: hidden;
  text-align: center;
  line-height: 44px;
  font-size: 20px;
  font-weight: normal;
  color: #333;
}
.cart-header .back {
  background: url('../images/back.png') no-repeat center center;
  background-size: 20px 20px;
}
.cart-header .menu {
  background: url('../images/more.png') no-repeat center center;
  background-size: 20px ;
}
/*安全*/
.cart-address {
  height: 45px;
  border-bottom: 1px solid #e1e1e1;
  text-align: center;
  line-height: 45px;
  color: #000;
  padding: 0 10px;
  font-size: 14px;
}
.cart-address .address {
  padding-left: 10px;
  color: #999;
  width: 140px;
}
.cart-address .fished {
  color: #f23030;
}
/*商品模块*/
.cart-product {
  border-top: 1px solid #e1e1e1;
  margin-top: 10px;
}
.cart-product .chk {
  position: absolute;
  left: 7px;
  top: 7px;
  width: 20px;
  height: 20px;
  background-color: red;
  background: url('../images/jd-sprites.png') no-repeat -180px -89px;
  background-size: 200px 200px;
}
.cart-product .product-title {
  position: relative;
  height: 34px;
  border-bottom: 1px solid #e1e1e1;
  line-height: 34px;
  padding-left: 34px;
  font-size: 12px;
}
.cart-product .product-title .logo {
  width: 20px;
  height: 15px;
  background: url('../images/jd-sprites.png') no-repeat 0 0;
  background-size: 200px 200px;
  margin-top: 9px;
  margin-right: 10px;
}
.cart-product .product-title .text {
  font-size: 16px;
  font-weight: 700;
}
.cart-product .product-title .right {
  color: #ccc;
  margin-top: 12px;
  margin-left: 5px;
}
.cart-product .product-content .item {
  position: relative;
  height: 100px;
  border-bottom: 1px solid #e1e1e1;
  padding-left: 34px;
}
.cart-product .product-content .item .chk {
  top: 40px;
}
.cart-product .product-content .item .info {
  height: 100px;
  padding: 10px;
  color: #333;
}
.cart-product .product-content .item .info img {
  width: 80px;
  height: 80px;
  float: left;
}
.cart-product .product-content .item .info .info-right {
  height: 100%;
  overflow: hidden;
  padding-left: 10px;
}
.cart-product .product-content .item .info .info-right .text {
  line-height: 18px;
  height: 36px;
  overflow: hidden;
  margin-bottom: 10px;
}
.cart-product .product-content .item .info .info-right .option .num span {
  color: #999;
  font-size: 24px;
  float: left;
  width: 30px;
  height: 30px;
  background-color: #f1f1f1;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
}
.cart-product .product-content .item .info .info-right .option .num span:nth-child(2) {
  border-left: none;
  border-right: none;
  font-size: 16px;
  width: 40px;
}
.cart-product .product-content .item .info .info-right .option .price {
  color: #f23030;
  font-size: 14px;
}
/*底部*/
.cart-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 640px;
  height: 50px;
  border-top: 1px solid #eee;
  background-color: #fff;
  display: flex;
  text-align: center;
  line-height: 50px;
  font-size: 16px;
}
.cart-footer .chk-all {
  flex: 1;
}
.cart-footer .chk-all span {
  font-size: 14px;
  float: left;
  width: 50px;
  height: 20px;
  padding-top: 30px;
  line-height: 20px;
  color: #aaa;
  background: url('../images/circle.png') no-repeat center 8px;
  background-size: 20px ;
}
.cart-footer .total {
  padding-top: 8px;
  line-height: 1.2em;
  text-align: right;
  padding-right: 10px;
}
.cart-footer .total small {
  color: #ccc;
}
.cart-footer .total .money {
  color: #f23030;
  font-weight: 700;
}
.cart-footer .delete {
  width: 110px;
  background-color: #ccc;
  color: #fff;
}
/* 模态框*/
.win-box {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}
.win-box .del-box {
  width: 80%;
  margin: 200px auto;
  border-radius: 10px;
  padding: 10px;
  background-color: #fff;
  text-align: center;
}
.win-box .del-box p {
  font-size: 22px;
  color: #333;
  line-height: 60px;
  border-bottom: 1px solid #e1e1e1;
  font-weight: normal;
}
.win-box .del-box .option {
  margin-top: 10px;
}
.win-box .del-box .option a {
  color: #333;
  height: 40px;
  width: 45%;
  border: 1px solid #e1e1e1;
  line-height: 40px;
  border-radius: 5px;
}
.win-box .del-box .option .ok {
  background-color: #f23030;
  color: #fff;
}
